Calculates approximations of the function through a series of powers or sum of whole powers.